/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cafeinatpv;

import java.io.IOException;
import java.net.MalformedURLException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;

/**
 *
 * @author kitiara
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) throws MalformedURLException, IOException, SAXException, ParserConfigurationException {



        Sistema tpv = new Sistema("/home/kitiara/NetBeansProjects/cafeina-tpv/src/cafeinatpv/tpv.properties", "/home/kitiara/NetBeansProjects/cafeina-tpv/src/cafeinatpv/ent1.xml", "/home/kitiara/NetBeansProjects/cafeina-tpv/src/cafeinatpv/ticket.xml");

        tpv.inicializar();
        tpv.crearNuevaVenta();
        tpv.anyadirLineaVenta();
        tpv.cerrarVenta(null);


    }
}
